<!--  审核机构经纪人-->
<style>
    .checkbox label:before {
        left: 1px;
    }
    .table-wrap thead .checkbox label:before{
        top:5px
    }
    .checkbox input[type="checkbox"]:checked + label:after{left:3px}
    .table-wrap thead .checkbox input[type="checkbox"]:checked + label:after{
        top:7px
    }
    .table-wrap tbody .checkbox label:before {
        left: 3px;
    }
    .table-wrap tbody .checkbox input[type="checkbox"]:checked + label:after{
        left:5px
    }
</style>
<div style="width:1005px;position: relative; height: 650px;">
    <div class="mt15 f14 clearfix">
<!--        <div class="fl select" style="width:110px;">
            <select class="select-border js-select" name="" id="" readonly="" ng-model="brokerSearch.queryKey">
                <option value="brokerName">经纪人姓名</option>
                <option value="brokerMobile">经纪人电话</option>
            </select>

        </div>-->
        <div style="width:112px" class="fl f12">
            <div ui-combobox data="brokerSearch.fieldList" text-field="text" value-field="value" ng-model="brokerSearch.queryKey"></div>
        </div>
        <input type="text" name="" class="input-text mr5 fl" value="" ng-model="brokerSearch.keyword"
               ng-enter="brokerSearch.query()" style="width: 305px;">
        <button class="btn fl" ng-click="getBrokerData()">搜索</button>
            <span class="fr"><a href="javascript:;" class="btn btn-yellow permission p-50030601-01"
                                ng-click="brokerBatchUnPassReview()">批量不通过</a></span>
            <span class="fr mr5"><a href="javascript:;" class="btn btn-yellow permission p-50030601-01"
                                    ng-click="brokerBatchPassReview()">批量通过</a></span>
    </div>
    <div class="table-wrap mt10" style="position:static;">
        <table width="100%">
            <thead>
            <tr class="thead ta-l">
                <th height="34" width="30">
                    <div class="checkbox  text-center">
                        <input type="checkbox" id="reivew_agent_all" value="1" name="cb1"
                               ng-model="reivewAgentSelectedAll" ng-change="updateReivewAgentCheckAll()">
                        <label for="reivew_agent_all" style="padding-top: 3px;">序号</label>
                    </div>
                </th>
                <th width="150">注册时间</th>
                <th width="150">经纪人信息</th>
                <th width="150">证件号码</th>
                <th width="120">门店</th>
                <th width="140">城市</th>
                <th width="140">操作</th>
            </tr>
            </thead>
            <tbody ng-if="loading">
            <tr height="60">
                <td colspan="5">加载中...</td>
            </tr>
            </tbody>
            <tbody ng-if="!loading && data && data.length>0">
            <tr ng-repeat="item in data"
                ng-mouseover="item.hover = true"
                ng-mouseleave="item.hover = false">
                <td height="50">
                    <div class="checkbox">
                        <input type="checkbox" id="{{item.b_regbrokerId}}" value="1" ng-model="item.selected"
                               ng-change="updateReivewAgentCheck()">
                        <label for="{{item.b_regbrokerId}}">{{pageSize*(pageIndex - 1)+$index+1}}</label>
                    </div>
                </td>
                <td>{{item.CreatedOn}}</td>
                <td><span class="fl" style="width: 100%;">{{item.broker_name}}（男）</span><span class="fl"
                                                                                              style="width: 100%;">{{item.mobile_tel}}</span>


                <td>{{item.cre_no}}</td>
                <td>{{item.store_name}}{{item.store_code}}</td>
                <td>{{item.city_name}}</td>
                <td>
                    <p ng-show="item.hover">
                        <a href="javascript:void(0)" title="审核通过" ng-click="brokerPassReview(item)"
                           class="fl mt5 mr10 c-orange permission p-50030601-01">审核通过</a>
                        <a href="javascript:void(0)" title="审核不通过" ng-click="brokerUnPassReview(item)"
                           class="fl mt5 ml10 c-orange permission p-50030601-01">审核不通过</a>
                    </p>
                </td>
            </tr>
            </tbody>
        </table>
        <div class="no-data" ng-if="!loading && (!data || data.length==0)" style="height: auto"><span>暂无数据</span></div>
    </div>
    <div ui-pagination page-index="pageIndex" page-size="brokerSearch.pageSize" total="total"
         changed="getBrokerData($pageIndex)"></div>
</div>
